import { ElMessageBox } from "element-plus"

const ElConfirm = (message: string) => {
    return ElMessageBox.confirm(message, "系统提示", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
        lockScroll: true,
        closeOnClickModal: false,
        closeOnPressEscape: false,
    })
}

export default ElConfirm